<?php

namespace plugin\cms\app\validate;

use core\validate\ValidateBase;

class AipublishKeyword extends ValidateBase
{
    protected $rule =   [
        'keyword' => 'require',
        'siteid'  => 'require|number',
        'cid'     => 'require|number'
    ];
    protected $message  =   [
        'keyword.require' => '关键词必填',
        'pid.require'     => '请选择父级',
        'siteid.require'  => '缺少站点信息',
        'siteid.number'   => '站点格式不正确',
        'cid.require'     => '栏目格式不正确',
        'cid.number'      => '栏目格式不正确',
    ];
}
